package youleche.com.sql.model;

/**
 * 表字段
 * @author Administrator
 *
 */
public class MTableField {
    /**
	 * 字段ID（0、1、2、3、4、5、6、7、8、9）
	 */
	private int fieldId;
	/**
	 * 字段中文名
	 */
	private String fieldChineseName;
	
	/**
	 * 字段英文名
	 */
	private String fieldEnglishName;
	
	/**
	 * 是否删除
	 */
	private int isDelete;
	
	/**
	 * @return the isDelete
	 */
	public int getIsDelete() {
		return isDelete;
	}
	/**
	 * @param isDelete the isDelete to set
	 */
	public void setIsDelete(int isDelete) {
		this.isDelete = isDelete;
	}
	/**
	 * 类型
	 */
	private String fieldType;
	
	/**
	 * 位数
	 */
	private String fieldLength;
	
	/**
	 * 是否非空
	 */
	private int isNull;
	
	/**
	 * 是否是主键
	 */
	private int isPrimaryKey;
	
	/**
	 * 外部关系
	 */
	private String fieldRelation;
	
	/**
	 * 唯一索引
	 */
	private int isUniqueIndex;
	
	/**
	 * 索引
	 */
	private int isIndex;
	
	/**
	 * 添加人
	 */
	private String fieldAddPerson;
	
	/**
	 * tableId
	 */
	private String tableId;
	/**
	 * @return the tableId
	 */
	public String getTableId() {
		return tableId;
	}
	/**
	 * @param tableId the tableId to set
	 */
	public void setTableId(String tableId) {
		this.tableId = tableId;
	}
	/**
	 * @return the fieldAddPerson
	 */
	public String getFieldAddPerson() {
		return fieldAddPerson;
	}
	/**
	 * @param fieldAddPerson the fieldAddPerson to set
	 */
	public void setFieldAddPerson(String fieldAddPerson) {
		this.fieldAddPerson = fieldAddPerson;
	}
	/**
	 * @return the fieldAddTime
	 */
	public String getFieldAddTime() {
		return fieldAddTime;
	}
	/**
	 * @param fieldAddTime the fieldAddTime to set
	 */
	public void setFieldAddTime(String fieldAddTime) {
		this.fieldAddTime = fieldAddTime;
	}
	/**
	 * @return the fieldModifyTime
	 */
	public String getFieldModifyTime() {
		return fieldModifyTime;
	}
	/**
	 * @param fieldModifyTime the fieldModifyTime to set
	 */
	public void setFieldModifyTime(String fieldModifyTime) {
		this.fieldModifyTime = fieldModifyTime;
	}
	/**
	 * 添加时间
	 */
	private String fieldAddTime;
	/**
	 * 修改时间
	 */
	private String fieldModifyTime;

	
	/**
	 * @return the fieldId
	 */
	public int getFieldId() {
		return fieldId;
	}
	/**
	 * @param fieldId the fieldId to set
	 */
	public void setFieldId(int fieldId) {
		this.fieldId = fieldId;
	}
	/**
	 * @return the fieldChineseName
	 */
	public String getFieldChineseName() {
		return fieldChineseName;
	}
	/**
	 * @param fieldChineseName the fieldChineseName to set
	 */
	public void setFieldChineseName(String fieldChineseName) {
		this.fieldChineseName = fieldChineseName;
	}
	/**
	 * @return the fieldEnglishName
	 */
	public String getFieldEnglishName() {
		return fieldEnglishName;
	}
	/**
	 * @param fieldEnglishName the fieldEnglishName to set
	 */
	public void setFieldEnglishName(String fieldEnglishName) {
		this.fieldEnglishName = fieldEnglishName;
	}
	/**
	 * @return the fieldType
	 */
	public String getFieldType() {
		return fieldType;
	}
	/**
	 * @param fieldType the fieldType to set
	 */
	public void setFieldType(String fieldType) {
		this.fieldType = fieldType;
	}
	/**
	 * @return the fieldLength
	 */
	public String getFieldLength() {
		return fieldLength;
	}
	/**
	 * @param fieldLength the fieldLength to set
	 */
	public void setFieldLength(String fieldLength) {
		this.fieldLength = fieldLength;
	}
	/**
	 * @return the isNull
	 */
	public int getIsNull() {
		return isNull;
	}
	/**
	 * @param isNull the isNull to set
	 */
	public void setIsNull(int isNull) {
		this.isNull = isNull;
	}
	/**
	 * @return the isPrimaryKey
	 */
	public int getIsPrimaryKey() {
		return isPrimaryKey;
	}
	/**
	 * @param isPrimaryKey the isPrimaryKey to set
	 */
	public void setIsPrimaryKey(int isPrimaryKey) {
		this.isPrimaryKey = isPrimaryKey;
	}
	/**
	 * @return the fieldRelation
	 */
	public String getFieldRelation() {
		return fieldRelation;
	}
	/**
	 * @param fieldRelation the fieldRelation to set
	 */
	public void setFieldRelation(String fieldRelation) {
		this.fieldRelation = fieldRelation;
	}
	/**
	 * @return the isUniqueIndex
	 */
	public int getIsUniqueIndex() {
		return isUniqueIndex;
	}
	/**
	 * @param isUniqueIndex the isUniqueIndex to set
	 */
	public void setIsUniqueIndex(int isUniqueIndex) {
		this.isUniqueIndex = isUniqueIndex;
	}
	/**
	 * @return the isIndex
	 */
	public int getIsIndex() {
		return isIndex;
	}
	/**
	 * @param isIndex the isIndex to set
	 */
	public void setIsIndex(int isIndex) {
		this.isIndex = isIndex;
	}
	/**
	 * @return the isAutoAdd
	 */
	public int getIsAutoAdd() {
		return isAutoAdd;
	}
	/**
	 * @param isAutoAdd the isAutoAdd to set
	 */
	public void setIsAutoAdd(int isAutoAdd) {
		this.isAutoAdd = isAutoAdd;
	}
	/**
	 * @return the fieldInitValue
	 */
	public String getFieldInitValue() {
		return fieldInitValue;
	}
	/**
	 * @param fieldInitValue the fieldInitValue to set
	 */
	public void setFieldInitValue(String fieldInitValue) {
		this.fieldInitValue = fieldInitValue;
	}
	/**
	 * @return the fieldStyle
	 */
	public String getFieldStyle() {
		return fieldStyle;
	}
	/**
	 * @param fieldStyle the fieldStyle to set
	 */
	public void setFieldStyle(String fieldStyle) {
		this.fieldStyle = fieldStyle;
	}
	/**
	 * @return the fieldValueYueShu
	 */
	public String getFieldValueYueShu() {
		return fieldValueYueShu;
	}
	/**
	 * @param fieldValueYueShu the fieldValueYueShu to set
	 */
	public void setFieldValueYueShu(String fieldValueYueShu) {
		this.fieldValueYueShu = fieldValueYueShu;
	}
	/**
	 * @return the fieldDesc
	 */
	public String getFieldDesc() {
		return fieldDesc;
	}
	/**
	 * @param fieldDesc the fieldDesc to set
	 */
	public void setFieldDesc(String fieldDesc) {
		this.fieldDesc = fieldDesc;
	}
	/**
	 * 自增
	 */
	private int isAutoAdd;
	
	/**
	 * 默认
	 */
	private String fieldInitValue;
	
	/**
	 * 字段格式
	 */
	private String fieldStyle;
	
	/**
	 * 值约束
	 */
	private String fieldValueYueShu;
	/**
	 * 项目意义
	 */
	private String fieldDesc
;

}
